package com.msl.debezium.service;

import com.msl.debezium.dto.UserDto;
import com.msl.debezium.request.QueryUserListReq;
import net.bytebuddy.implementation.bytecode.Throw;

import java.util.Date;
import java.util.List;

public interface UserService {

    List<UserDto> queryUserList(QueryUserListReq req) throws Exception;

    Integer addUser(List<UserDto> list);

    Integer countAddByTable(String table, Date startDate, Date endDate);
}
